<?php
return array(
	'class' => 'ActiveRecordConfig',
	'attributeLabels' => array(
		'baseInfo' => '基本信息',
		'begin_time' => '开始时间',
		'end_time' => '至',
		'districtInfo' => '地区',
		'selectTime' => '时间段'
	),

	'rules' => array(
		array('begin_time,end_time,object_type,selectTime,price','safe')
	),

	'behaviors' => array(
		'search' => array(
			'class' => 'application.behaviors.SearchBehavior',
			'timeSearch' => 'create_time'
		),
		'defaultSort' => array(
			'class' => 'coms.behaviors.DefaultSort',
		),
	),
);